package behaviorPattern.mediator.SimpleMediatorPattern.v3;

/**
 * @Author: Alex Hu
 * Date: 2020/2/22 6:55 下午
 * Content:
 */

public class SimpleMediatorPatternMain {
    public static void main(String[] args) {
        SimpleColleague c1, c2,c3,c4;
        c1 = new SimpleConcreteColleague1();
        c2 = new SimpleConcreteColleague2();
        c3 = new SimpleConcreteColleague3();
        c4 = new SimpleConcreteColleague3();
        c1.send();
        System.out.println("-----------------");
        c2.send();
        System.out.println("-----------------");
        c3.send();
        System.out.println("-----------------");
        c4.send();
    }
}
